int pictIter = 0;
        function addPictureField(){
        	pictIter ++;
        	var pictTable = document.getElementById("pictureTable");
        	pictTable.innerHTML += '<br> <form:label for="pictureFile1" path="pictureFile[0]">Main File</form:label><br/> <form:input id="pictureFile1" path="pictureFile[0]" type="file"/> </br>';
        }